<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:directive.include file="/WEB-INF/sitemesh-common/taglibs.jsp" />
<c:if test="${hasErrors}"><meta id="error"></c:if>

<form:form name="siteForm" commandName="siteForm">
<form:hidden path="id"/>

<table class="form">
<tr>
   <td>Site Address:</td>
   <td>
      <form:input path="subDomain" maxlength="30" cssStyle="width: 140px; height: 21px" cssClass="text ui-widget-content ui-corner-all" /><span>.sow.com</span> (<span style="color: red">*</span>)<br>
      <form:errors path="subDomain" cssStyle="color:red" />
   </td>
   <td width="20px" rowspan="3">&nbsp;</td>
   <td>Number of Users:</td>
   <td>
      <form:input path="numberOfUsers" maxlength="30" cssStyle="width: 140px; height: 21px" cssClass="text ui-widget-content ui-corner-all" /><br>
      <form:errors path="numberOfUsers" cssStyle="color:red" />
   </td>
   <td width="20px" rowspan="3">&nbsp;</td>
   <td rowspan="2">&nbsp;</td>
</tr>
<tr>
   <td>Storage Limit:</td>
   <td>
      <form:input path="storageLimit" maxlength="30" cssStyle="width: 140px; height: 21px" cssClass="text ui-widget-content ui-corner-all" /> <span>(GB)</span><br>
      <form:errors path="storageLimit" cssStyle="color:red" />
   </td>
   <td>Default Language:</td>
   <td>
      <form:input path="defaultLanguage" maxlength="30" cssStyle="width: 140px; height: 21px" cssClass="text ui-widget-content ui-corner-all" /><br>
      <form:errors path="defaultLanguage" cssStyle="color:red" />
   </td>
</tr>
<tr>
   <td>Renew Date:</td>
   <td>
      <form:input path="renewDate" maxlength="30" cssStyle="width: 140px; height: 21px" cssClass="text ui-widget-content ui-corner-all" /> <span>(MM/dd/yyyy)</span><br>
      <form:errors path="renewDate" cssStyle="color:red" />
   </td>
   <td>Date Format:</td>
   <td>
      <form:input path="shortDateFormat" maxlength="30" cssStyle="width: 140px; height: 21px" cssClass="text ui-widget-content ui-corner-all" />
      <form:errors path="shortDateFormat" cssStyle="color:red" />
   </td>
   <td><input id="btnUpdateSite" type="button" value="Update" onclick="updateSite()" style="cursor: pointer;" /></td>
   <script type="text/javascript">$("#btnUpdateSite").jqxButton({ theme: getSowTheme('ui-redmond') });</script>
</tr>
</table>

</form:form>